package com.rykj.ruiyan_ptz.ui

import android.app.Activity
import android.content.Intent
import android.os.Bundle
import com.rykj.common.ui.BaseActivity
import com.rykj.ruiyan_ptz.R
import kotlinx.android.synthetic.main.activity_main.*

class MainActivity : BaseActivity() {
    companion object {
        fun start(activity: Activity) {
            val intent = Intent(activity, MainActivity::class.java)
            activity.startActivity(intent)
        }
    }

    override fun isFullScreen(): Boolean {
        return true
    }

    override fun getLayoutId(): Int {
        return R.layout.activity_main
    }

    override fun init(savedInstanceState: Bundle?) {
        mainStatus.setText(getString(R.string.detect_model))
    }
}